# Define ORM classes (often called "mapped classes").

class Risk(object):
    def __init__(self, name, description):
        self.name = name
        self. description = description

    def __repr__(self):
        return "Risk('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')" % (self.id, self.name, self.description, self.probability, self.impact, self.created, self.updated)

class Impact(object):
    def __init__(self, name, description):
        self.name = name
        self. description = description

    def __repr__(self):
        return "Risk('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')" % (self.id, self.name, self.description, self.client, self.start, self.end, self.created, self.updated)

class Indicator(object):
    def __init__(self, name, description):
        self.name = name
        self. description = description

    def __repr__(self):
        return "Risk('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')" % (self.id, self.name, self.description, self.client, self.start, self.end, self.created, self.updated)

class Strategy(object):
    def __init__(self, name, description):
        self.name = name
        self. description = description

    def __repr__(self):
        return "Risk('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')" % (self.id, self.name, self.description, self.client, self.start, self.end, self.created, self.updated)

class Action(object):
    def __init__(self, name, description):
        self.name = name
        self. description = description

    def __repr__(self):
        return "Risk('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')" % (self.id, self.name, self.description, self.client, self.start, self.end, self.created, self.updated)

